<?php get_header(); ?>
<?php 
if (have_posts()): ?>
<?
$count = count($posts);
$max = min(3, $count);
for ($i=0;$i<$count;$i++): $post = $posts[$i]; start_wp(); ?>
        <?php require('post.php');?>
<? endfor; ?>

<?php endif;?>

<?php get_footer(); ?>
